<?php if ($gtAccount != NULL): 
	$editType ='Request Edit';
	$editAction = array('action' => 'makerequest');
?>
<?php echo $this->element('employeeHeader');?>

<hr/>
<!-- week display -->
<?php echo $this->element('weekView',array(
	'editType'=> $editType,
	'editAction'=> $editAction,
	'prev'=>array($weekId + 1),
	'next'=>($weekId > 0)?array($weekId-1):false,
));?>

<!-- show entries in table in addition to the week display -->
<!-- populate table with data received from controller -->
<?php echo $this->element('hourTable',array(
	'editType'=>$editType,
	'editAction'=>$editAction,
	'hours'=>$hours,
));?>
<?php else: ?>
<h1> Invalid Login </h1>
<?php endif ?>


    
